/*
 * Copyright (c) 2001-2018 GuaHao.com Corporation Limited. All rights reserved.
 * This software is the confidential and proprietary information of GuaHao Company.
 * ("Confidential Information").
 * You shall not disclose such Confidential Information and shall use it only
 * in accordance with the terms of the license agreement you entered into with GuaHao.com.
 */
package com.bgt.springboot.first.controller;

import com.bgt.springboot.first.utils.HttpPerfectUtils;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * TODO
 *
 * @author Ricky
 * @version V1.0
 * @since 2018-08-23 10:33
 */
@RestController
public class CommonController {

    @GetMapping(value = "/h")
    public String getHttp(){
        System.out.println("执行请求");
        return HttpPerfectUtils.get("http://wwww.baidu.com",null);
    }
}
